home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Bus / A / 4dSample.cpt / Proc.Ext.rsrc / 4DTE_15061 < prev    next >
Encoding:
Text File  |  1988-03-14  |  1017 b   |  19 lines

  1. Quit4D(Expr)
  2.    Expr is a numeric expression
  3.  
  4. Quit allows you to automatically quit a 4D database by formula. The Expr is used to specify what you want to do:
  5.  
  6. Expr=1, Quit displays the "Are you sure?" dialog, then, if user clicks the OK button, flushes and ejects all disks and ShutDown the Macintosh.
  7.  
  8. Expr=2, Quit displays the standard dialog to open another Macintosh application.
  9.  
  10. Expr=3, Quit displays the "Are you sure?" dialog, then, if user clicks the OK button, goes back to the Finder.
  11.  
  12. Expr=11, like Expr=1 but without displaying the "Are you sure?" dialog
  13.  
  14. Expr=12, like Expr=2 but when the user quits the launched application he will go back to 4D and not to the Finder.
  15.  
  16. Expr=13, like Expr=3 but without displaying the "Are you sure?" dialog.
  17.  
  18. If your database is running under multi-user mode : 2 and 12 are not supported. 1 and 11 work respectively like 3 and 13. Quit4D works correctly under multi-user mode only if the database has been opened with a password with an associated startup procedure.
  19.